#pragma once

namespace Fysics
{
	class IndexBuffer
	{
	public:
		virtual ~IndexBuffer() {}

		virtual void Bind() const = 0;
		virtual void UnBind() const = 0;

		virtual unsigned int GetCount() const = 0;
		static IndexBuffer* Create(unsigned int* indices, unsigned int count);
	};
}